import { getImg
    // 剩下的请求方法记得用逗号分隔
    } from "./request.js"
  
    let img1=document.querySelector(".img1")
    let img2=document.querySelector(".boxa").children[0].firstChild
    let img3=document.querySelector(".boxa").children[1].firstChild
    let img4=document.querySelector(".boxa").children[2].firstChild
    let img5=document.querySelector(".two").children[0].firstChild
    let img6=document.querySelector(".two").children[1].firstChild
    let img7=document.querySelector(".two").children[2].firstChild
    let img8=document.querySelectorAll(".boxd")[0]
    let img9=document.querySelectorAll(".boxd")[1]
    getImg().then(res=>{
      console.log(res.data.rows[0].Carousels);
      let urls=res.data.rows[0].Carousels;
      // let ds=res.data.rows[1].Carousels;
    console.log(img5);
      img1.src=urls[7].url
      img2.src=urls[8].url
      img3.src=urls[9].url
      img4.src=urls[10].url
      img5.src=urls[11].url
      img6.src=urls[12].url
      img7.src=urls[13].url
      img8.src=urls[14].url
      img9.src=urls[4].url   
    })